Optimal. Leaf size=253 \[ -\frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt {-1+c x} \sqrt {1+c x}}+\frac {2^{-2 (3+n)} e^{-\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {2^{-2 (3+n)} e^{\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 253, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.138, Rules used = {5952, 5556,
3388, 2212} \begin {gather*} \frac {2^{-2 (n+3)} e^{-\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text {Gamma}\left (n+1,-\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {c x-1} \sqrt {c x+1}}-\frac {2^{-2 (n+3)} e^{\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {c x-1} \sqrt {c x+1}}-\frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{n+1}}{8 b c^3 (n+1) \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 3388
Rule 5556
Rule 5952
Rubi steps
\begin {align*} \int x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx &=\frac {\sqrt {d-c^2 d x^2} \int x^2 \sqrt {-1+c x} \sqrt {1+c x} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int (a+b x)^n \cosh ^2(x) \sinh ^2(x) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int \left (-\frac {1}{8} (a+b x)^n+\frac {1}{8} (a+b x)^n \cosh (4 x)\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int (a+b x)^n \cosh (4 x) \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int e^{-4 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\sqrt {d-c^2 d x^2} \text {Subst}\left (\int e^{4 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {\sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{8 b c^3 (1+n) \sqrt {-1+c x} \sqrt {1+c x}}+\frac {4^{-3-n} e^{-\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {4^{-3-n} e^{\frac {4 a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac {a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.74, size = 181, normalized size = 0.72 \begin {gather*} -\frac {d \sqrt {\frac {-1+c x}{1+c x}} (1+c x) \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac {8 \left (a+b \cosh ^{-1}(c x)\right )}{b+b n}+4^{-n} e^{-\frac {4 a}{b}} \left (-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{b^2}\right )^{-n} \left (\left (\frac {a}{b}+\cosh ^{-1}(c x)\right )^n \Gamma \left (1+n,-\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )-e^{\frac {8 a}{b}} \left (-\frac {a+b \cosh ^{-1}(c x)}{b}\right )^n \Gamma \left (1+n,\frac {4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )\right )\right )}{64 c^3 \sqrt {-d (-1+c x) (1+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \,\mathrm {arccosh}\left (c x \right )\right )^{n} \sqrt {-c^{2} d \,x^{2}+d}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )^{n}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^2\,{\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}^n\,\sqrt {d-c^2\,d\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________